package bh

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import yyee.llee.mmee.common.databinding.ActivityWeatherAboutBinding

class AboutActivity : AppCompatActivity() {


    private var viewBinding: ActivityWeatherAboutBinding? = null
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        viewBinding = ActivityWeatherAboutBinding.inflate(layoutInflater)

        setContentView(viewBinding!!.root)
        initView()
        initData()

    }

    fun initView() {
        viewBinding!!.layoutTitle.tvTitle.text = "关于我们"

        viewBinding!!.layoutTitle.ivBack.setOnClickListener {
            finish()
        }
    }

    fun initData() {
        viewBinding!!.tvVersionCode.text = "V${yyee.llee.mmee.common.global.Env.VERSION}"
    }
}